home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / DIALOG.PAK / DIALOG.RC < prev    next >
Text File  |  1997-05-06  |  4KB  |  138 lines

  1. #include "resource.h"
  2.  
  3. #if !defined (WORKSHOP_INVOKED)
  4. #include <windows.h>
  5. #endif
  6.  
  7. #include "globals.h"
  8. #include "modal.h"
  9. #include "modeless.h"
  10. #include "version.h"
  11.  
  12. IDI_APPICON             ICON    DISCARDABLE     "Dialog.ICO"
  13.  
  14. ABOUTBOX DIALOG DISCARDABLE  22, 17, 167, 73
  15. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  16. CAPTION "About Dialog"
  17. FONT 8, "System"
  18. BEGIN
  19.     DEFPUSHBUTTON   "OK",IDOK,132,2,32,14,WS_GROUP
  20.     ICON            IDI_APPICON,-1,3,2,18,20
  21.     LTEXT           "CompanyName",IDD_VERFIRST,30,2,100,8
  22.     LTEXT           "FileDescription",101,30,11,100,8
  23.     LTEXT           "FileVersion",102,30,20,137,8
  24.     LTEXT           "LegalCopyright",103,30,29,137,8
  25.     LTEXT           "LegalTrademarks",IDD_VERLAST,30,47,136,27
  26.     CONTROL         "",501,"Static",SS_BLACKRECT,29,43,138,1
  27. END
  28.  
  29. IDD_MODALDIALOG DIALOG DISCARDABLE  6, 18, 171, 107
  30. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  31. CAPTION "Modal Dialog"
  32. FONT 8, "MS Sans Serif"
  33. BEGIN
  34.     LISTBOX         IDD_STUDENTS,7,13,58,77,LBS_NOINTEGRALHEIGHT | 
  35.                     WS_VSCROLL | WS_TABSTOP
  36.     LTEXT           "Students:",102,7,3,46,8
  37.     RTEXT           "Name:",103,69,14,35,8
  38.     EDITTEXT        IDD_NAME,105,13,57,12,ES_AUTOHSCROLL | ES_READONLY
  39.     RTEXT           "Title:",105,69,31,35,8
  40.     EDITTEXT        IDD_TITLE,105,30,57,12,ES_AUTOHSCROLL | ES_READONLY
  41.     RTEXT           "Phone:",107,69,47,35,8
  42.     EDITTEXT        IDD_PHONE,105,46,57,12,ES_AUTOHSCROLL | ES_READONLY
  43.     PUSHBUTTON      "OK",IDOK,122,72,40,14
  44.     PUSHBUTTON      "Cancel",IDCANCEL,122,89,40,14
  45.     CONTROL         "Include Boys",IDD_INCLUDEBOYS,"Button",BS_AUTOCHECKBOX | 
  46.                     WS_TABSTOP,6,95,70,10
  47. END
  48.  
  49. IDD_MODELESSDIALOG DIALOG DISCARDABLE  65, 23, 106, 87
  50. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  51. CAPTION "Modeless Dialog"
  52. FONT 8, "MS Sans Serif"
  53. BEGIN
  54.     GROUPBOX        "Background Color",101,5,6,89,55,WS_GROUP
  55.     PUSHBUTTON      "OK",IDOK,29,67,40,14,WS_GROUP
  56.     CONTROL         "Red",IDD_RED,"Button",BS_AUTORADIOBUTTON | WS_GROUP,14,
  57.                     20,39,10
  58.     CONTROL         "Green",IDD_GREEN,"Button",BS_AUTORADIOBUTTON,14,33,39,
  59.                     10
  60.     CONTROL         "Blue",IDD_BLUE,"Button",BS_AUTORADIOBUTTON,14,46,39,10
  61. END
  62.  
  63.  
  64. DLGINCLUDE RCDATA DISCARDABLE 
  65. BEGIN
  66.     "MODELESS.H\0"
  67. END
  68.  
  69.  
  70. DIALOG MENU DISCARDABLE 
  71. BEGIN
  72.     POPUP "&File"
  73.     BEGIN
  74.         MENUITEM "E&xit",                       IDM_EXIT
  75.     END
  76.     POPUP "&Dialogs"
  77.     BEGIN
  78.         MENUITEM "&Modal...",                   IDM_MODAL
  79.         MENUITEM "M&odeless...",                IDM_MODELESS
  80.     END
  81.     POPUP "&Help"
  82.     BEGIN
  83.         MENUITEM "&About...",                   IDM_ABOUT
  84.     END
  85. END
  86.  
  87.  
  88. DIALOG ACCELERATORS MOVEABLE PURE 
  89. BEGIN
  90.     "Q",            IDM_EXIT,               VIRTKEY, CONTROL
  91. END
  92.  
  93.  
  94. VS_VERSION_INFO VERSIONINFO
  95.  FILEVERSION 4,0,0,0
  96.  PRODUCTVERSION 4,0,0,0
  97.  FILEFLAGSMASK 0x3fL
  98. #ifdef _DEBUG
  99.  FILEFLAGS 0xbL
  100. #else
  101.  FILEFLAGS 0xaL
  102. #endif
  103.  FILEOS 0x10001L
  104.  FILETYPE 0x1L
  105.  FILESUBTYPE 0x0L
  106. BEGIN
  107.     BLOCK "StringFileInfo"
  108.     BEGIN
  109.         BLOCK "040904e4"
  110.         BEGIN
  111.             VALUE "CompanyName", "Microsoft Corporation\0"
  112.             VALUE "FileDescription", "Dialog Example Application\0"
  113.             VALUE "FileVersion", "Version 4.0\0"
  114.             VALUE "InternalName", "Dialog\0"
  115.             VALUE "LegalCopyright", "Copyright \251 Microsoft Corp. 1990-1995\0"
  116.             VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  117.             VALUE "OriginalFilename", "\0"
  118.             VALUE "ProductName", "Dialog\0"
  119.             VALUE "ProductVersion", "\0"
  120.             VALUE "ProductVersion", "Version 4.0\0"
  121.         END
  122.     END
  123.     BLOCK "VarFileInfo"
  124.     BEGIN
  125.         VALUE "Translation", 0x409, 1252
  126.     END
  127. END
  128.  
  129.  
  130.  
  131. STRINGTABLE DISCARDABLE 
  132. BEGIN
  133.     IDS_APPNAME             "Dialog"
  134.     IDS_DESCRIPTION         "Dialog Example Application"
  135. END
  136.  
  137.  
  138.